import { useContext } from "react";
import {CountContext} from '../About'

const Counter = ()=>{
    const count = useContext(CountContext)
    return (<p>子组件获得的点击数量：{count}</p>)
}
export default  Counter